package com.scuec.tourismwebsite.service;

import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.City;
import com.scuec.tourismwebsite.entity.WeatherRealTime;
import com.scuec.tourismwebsite.vo.ViewWeatherRealTimeWithCity;

import java.util.List;

public interface WeatherRealTimeService {
    List<ViewWeatherRealTimeWithCity> getWeatherRealTime();
    PageInfo<ViewWeatherRealTimeWithCity> findWeatherRealTimePages(Integer pageNum, Integer pageSize);
    Integer insertWeatherRealTime(WeatherRealTime weatherRealTime);
    Integer updateWeatherRealTime(WeatherRealTime weatherRealTime);
    Integer deleteWeatherRealTime(Integer weather_id);
}
